package com.openroom.event;

public class ApplicationEvent {
	private EventType type;
	private Object data;

	public ApplicationEvent(EventType type) {
		super();
		this.type = type;
	}

	public ApplicationEvent(EventType type, Object data) {
		super();
		this.type = type;
		this.data = data;
	}


	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public EventType getType() {
		return type;
	}

	public void setType(EventType type) {
		this.type = type;
	}

}
